package tech.aistar.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(of = {"id"})
public class UserLove {
    private Integer id;
    private String songTitle;
    private String singerName;
    private Integer uId;
    private  String singerAvatar;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")//指定日期格式和时区
    private Date createTime;
    private Integer sId;
}
